package com.nuyoah.mapper;

import com.nuyoah.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 存储所有用户的基本信息 Mapper 接口
 * </p>
 *
 * @author xyx
 * @since 2024-06-03
 */
public interface UserMapper extends BaseMapper<User> {

    List<Integer> getPermissionIdsById(Integer userId);

    void insertUserRoleBinding(Integer id, int i);

    List<User> getUserList();

    User getUserByUsername(String username);

    User getUserById(Integer ids);



}
